package java69.work721;

public class PrinterTest {
    public static void main(String[] args) {
        Printers printers = new Printers();
        DotMatrixPrinter dotMatrixPrinter = new DotMatrixPrinter();
        printers.printer(dotMatrixPrinter);
        LaserPrinter laserPrinter = new LaserPrinter();
        printers.printer(laserPrinter);
    }
}
